package web.eshop.wizard;

import org.apache.wicket.Component;
import org.apache.wicket.markup.html.panel.EmptyPanel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.wicketstuff.annotation.mount.MountPath;
import web.eshop.ShopBasePage;
import web.eshop.panels.CategoryTreePanel;

@MountPath(path = "RegisteredWizardPage")
public final class RegisteredWizardPage extends ShopBasePage {
    CategoryTreePanel categoryTreePanel;

    RegisteredWizard wizard;

    @Override
    protected Component newLeftPanel(String id) {
        return categoryTreePanel = new CategoryTreePanel(id);
    }

    @Override
    protected Component newRightPanel(String id) {
        return new EmptyPanel(id);
    }

    public RegisteredWizardPage() {
        super();
        wizard = new RegisteredWizard("wizard2");
        add(wizard);
    }

    @Override
    public IModel getPageTitle() {
        return new Model("RegisteredWizardPage");
    }

    @Override
    public IModel getDescription() {
        return new Model("RegisteredWizardPage");
    }

    @Override
    public IModel getKeywords() {
        return new Model("RegisteredWizardPage");
    }
}

